<?php
/**
 * Created by PhpStorm.
 * User: jc234839
 * Date: 21/05/2014
 * Time: 11:46 AM
 */

?>

<div id="stock">
    <div class="dashboardLabel">
        <a href="stock.php?stockResults"><p>STOCK</p></a>
    </div>
    <div class="dashboard">
        <div class="create">
            <a href="stock.php?modifyStock"><p>ADD/MOD</p></a>
        </div>
        <div class="dashboardForm">
            <form id="stockForm" name="stockForm" method="post" action="stock.php">
                <input type="text" name="searchStock" id="searchStock" value="Enter Inv ID"
                       onfocus="if(this.value == 'Enter Inv ID') {this.value=''}"
                       onblur="if(this.value == '') {this.value='Enter Inv ID'}">
            </form>
        </div>
        <div class="search">
            <a href="#" id="stockIDToSearch"
               onclick="document.getElementById('stockIDToSearch').href = 'stock.php?stockID=' + document.getElementById('searchStock').value;">
                <p>SEARCH</p></a>
        </div>
        <br/>

        <div class="soldOut">
            <a href="stock.php?quantity=none"><p>SOLD OUT</p></a>
        </div>
        <div class="lowStock">
            <a href="stock.php?quantity=low"><p>LOW STOCK</p></a>
        </div>
        <div class="highStock">
            <a href="stock.php?quantity=high"><p>HIGH</p></a>
        </div>
    </div>
</div>